#cd-timeline {
  position: relative;
}

#cd-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  height: 100%;
  width: 1px;
  background: #d9d9d9;
}

@media only screen and (min-width: 1170px) {
  #cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }

  #cd-timeline::before {
    left: 50%;
    margin-left: -1px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 30px 0;
}

.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}

.cd-timeline-block:first-child {
  margin-top: 0;
}

.cd-timeline-block:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(to left, #5f1985, var(--color-primary));
}

.cd-timeline-block:nth-child(even) .cd-timeline-img::before {
  left: 15px;
}

.cd-timeline-block:nth-child(odd) .cd-timeline-img::before {
  left: 15px;
}

.cd-timeline-img:before {
  content: '';
  position: absolute;
  top: 4px;
  /* left: 15px; */
  width: 40px;
  height: 1px;
  background: #d9d9d9;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline-block:nth-child(even) .cd-timeline-img::before {
    right: 15px;
    left: auto;
  }

  .cd-timeline-img {

    left: 50%;
    margin-left: -6px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }

  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }

  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}

@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}

@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  margin-top: -10px;
}

.cd-timeline-block:nth-child(even) .cd-timeline-content {
  text-align: left;
}

.cd-timeline-content:after {
  content: "";
  display: table;
  clear: both;
}

.cd-timeline-content h2 {
  display: inline-block;
  font-size: 24px;
  background: linear-gradient(to left, #5f1985, #51318a, #104097, #007bc6, var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin-bottom: 10px;
}

.cd-timeline-content p {
  line-height: 1.8;
  font-size: 14px;
  color: #666;
  padding: 10px 0;
  border-bottom: 1px dashed #d5d5d5;
}

@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
    font-size: 30px;
  }

  .cd-timeline-content p {
    font-size: 18px;
  }

}

@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    width: 45%;
  }

  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    text-align: right;
  }

  .cd-timeline-block:nth-child(odd) .cd-timeline-content {
    float: right;
  }

